<template>
	<view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		},
		onLoad:function(options){
			console.log(options)
			//app
			//条件编译
			// #ifdef APP-PLUS
			uni.login({
				success: (res) => {
					uni.getUserInfo({
						success(info) {
							
						}
						fail() {
							uni.showToast({
								title:"微信登录授权失败",
								icon: "none"
							})
						}
					})
				},
				fail() {
					uni.showToast({
						title: "微信登录授权失败"
					})
				}
			})
			// #endif
		}
	}
</script>

<style>

</style>
